package com.guigu.thirdpartyservices;

import com.guigu.gulicommon.config.CommonConfiguration;
import com.guigu.gulicommon.config.WebMvcConfigurerAdaptor;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @author 陈俊杰
 */
@EnableCaching
@EnableConfigurationProperties
@EnableFeignClients
@EnableRabbit
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@Import({CommonConfiguration.class, WebMvcConfigurerAdaptor.class})
public class ThirdPartyServicesApplication {

    public static void main(String[] args) {
        SpringApplication.run(ThirdPartyServicesApplication.class, args);
    }

}
